package com.ruoyi.wechat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.wechat.domain.WxUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author yan
 */
@Mapper
public interface WxUserMapper extends BaseMapper<WxUser> {

    /**
     * 取关
     * @param openid
     */
    void unsubscribe(String openid);

    /**
     * 查询用户列表
     *
     * @param wxUser 用户
     * @return 用户集合
     */
    public List<WxUser> selectWxUserList(WxUser wxUser);
}
